


<?if(isset($product['photo'])):?><img src="/media/images/products/<?=$product['photo']?>" width="150" style="max-height: 150;"><?endif?>
<br>
<a href="/index.php/shop/<?=$lang?>/product/<?=$product['id']?>/"><?=$product['name']?></a>
<br>
<?=$product['description']?>
<br>
Price: <?=$product['price']?>
<br>
<?if(!in_array($product['id'], $productsInCart)):?>
	<a href="/index.php/shopingcart/addtocart/<?=$lang?>/<?=$product['id']?>/">В корзину</a>
<?else:?>
	Уже в корзині
<?endif?>
<br><br>
